package com.tupu.mapper.permission;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tupu.entity.permission.OrganizationInfo;
import org.apache.ibatis.annotations.Select;


public interface OrganizationMapper extends BaseMapper<OrganizationInfo> {

    //根据名字查询条数
    @Select("select count(*) from organization_list where name = #{name}")
    Integer findCountByName(String name);
}
